package com.ymj.netty.common;

/**
 *  @Description: netty响应码枚举
 *  @author: yanmj
 *  @Date: 2020-06-07
 */
public enum ResponseCodeEnum {

    TIMEOUT("10001","请求超时");

    private String code;
    private String msg;

    ResponseCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
